﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using System.ComponentModel;

namespace Chaliy.DbPro.Generators.TextAuthoring.Configuration
{
    [XmlRoot("Term")]
    public class TermConfiguration
    {
        #region Constructors

        public TermConfiguration()
        {
            this.Weight = 0.1;
        }

        #endregion

        #region Properties

        [XmlAttribute]
        [DefaultValue(0.1)]
        public double Weight
        {
            get;
            set;
        }

        [XmlText]
        public string Value
        {
            get;
            set;
        }

        #endregion
    }
}
